<template>
    <view>
        <web-view :src="url" ></web-view>
    </view>
</template>

<script>
	import api from '../../api.js';
    export default {
        data() {
            return {
				id:0,
				url:'',
                webviewStyles: {
                    progress: {
                        color: 'green'
                    }
                }
            }
        },
		onLoad: function(e) {
			this.id=e.id;
			this.url=decodeURIComponent(e.url);
		},methods: {
			testing(){
				uni.navigateTo({
					url: '/pages/jiance/face?id='+this.data.id
				})
			}
		}
    }
</script>

<style>

</style>